							<?php
										echo "<div id='comment_view'>";
				   						foreach($data[data] as $row)
										{?>
                                          <div class="each_comment">
                                  		  <p class="author_comment"><span class="comment_user"><?php echo $row['user']; ?></span> said : </p>
                                         <p class="date_comment"><?php echo $row['time_add'];?></p>
                                         <div class="clear"></div>
                                         <p class="each_comment_content"> <?php echo $row['content'];?></p>
                                           <p style="text-align:right; ">
                                      <a href="javascript:channel_quote('<?php echo $row[user]; ?>')" title="Quote This Comment"> Reply </a>
                					<?php if($data[per]==1)
									{
										?>
                                      |<a href="javascript:channel_delete_comment(<?php echo $row['id']?>)" title="Delete This Comment">Delete</a>
             						 
                                         <?php
										}
										?>
                                </p>
                           		 </div>
                            <?php 
							}
							echo "</div>";
						?>